package cn.edu.scau.cmi.front.domain.echart;

public class Link {
	private String id;
	private String name;
	private String source;
	private String target;

	public Link(String id, String source, String target) {
		this(id, null, source, target);
	}

	public Link(String id, String name, String source, String target) {
		this.setId(id);
		this.setName(name);
		this.setSource(source);
		this.setTarget(target);
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}
}